package com.hycreate.platform.modules.product.element;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;
import com.hycreate.platform.modules.product.element.SfProductElement;
import com.hycreate.platform.modules.product.element.SfProductElementDao;

/**
 * 产品配件关系Service
 * @author hoader
 * @version 2017-01-09
 */
@Service
@Transactional(readOnly = true)
public class SfProductElementService extends CrudService<SfProductElementDao, SfProductElement> {

	public SfProductElement get(String id) {
		return super.get(id);
	}
	
	public List<SfProductElement> findList(SfProductElement sfProductElement) {
		return super.findList(sfProductElement);
	}
	
	public Page<SfProductElement> findPage(Page<SfProductElement> page, SfProductElement sfProductElement) {
		return super.findPage(page, sfProductElement);
	}
	
	@Transactional(readOnly = false)
	public void save(SfProductElement sfProductElement) {
		super.save(sfProductElement);
	}
	
	@Transactional(readOnly = false)
	public void delete(SfProductElement sfProductElement) {
		super.delete(sfProductElement);
	}
	
}